<html>
    <title>在HTML标签内添加脚本</title>
    <body>
      <input type="button" onclick="JavaScript:alert('Hello');" value="点击">
    </body>
</html>